package net.huashitong.index.ctrl;

import com.sirdc.modules.core.web.JsonBaseController;
import com.sirdc.modules.core.web.model.Message;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;


@Controller
@RequestMapping("/web/effect")
public class EffectCtrl extends JsonBaseController {
    @Override
    protected String getView(String s) {
        return null;
    }

    @ResponseBody
    @RequestMapping(value = "/getDataNewestTime", method = RequestMethod.GET)
    public Message getDataNewestTime() {
        return coverMessage("200","数据更新时间","经济系统最新数据更新时间:2019年12月25日");
    }
}
